{include file="common/common"}
            <!-- /Page Sidebar -->
            <!-- Page Content -->
            <div class="page-content">
                <!-- Page Breadcrumb -->
                <div class="page-breadcrumbs">
                    <ul class="breadcrumb">
                                        <li>
                        <a href="#">系统</a>
                    </li>
                                        <li class="active">文章管理</li>
                                        </ul>
                </div>
                <!-- /Page Breadcrumb -->

                <!-- Page Body -->
                <div class="page-body">
                    
<button type="button" tooltip="文章栏目" class="btn btn-sm btn-azure btn-addon" onClick="javascript:window.location.href = '{:url('add')}'"> <i class="fa fa-plus"></i> Add
</button>
<div class="row">
    <div class="col-lg-12 col-sm-12 col-xs-12">
        <div class="widget">
            <div class="widget-body">
                <div class="flip-scroll">
                    <style>
                        .table>tbody>tr>td{
                            line-height: 54px;
                        }
                        .table>thead>tr>th{
                            line-height: 54px;
                        }
                    </style>
                        <table class="table table-bordered table-hover" style="text-align: center">
                            <thead class="">
                            <tr>
                                <th class="text-center">ID</th>
                                <th class="text-center">标题</th>
                                <th class="text-center">作者</th>
                                <th class="text-center">所属栏目</th>
                                <th class="text-center">访问量</th>
                                <th class="text-center">推荐</th>
                                <th class="text-center">缩略图
                                </th>
                                <th class="text-center">操作
                                </th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="Articles" id="Article"}
                            <tr>
                                <td align="center">{$Article.id}</td>
                                <td align="center">{$Article.title}</td>
                                <td align="center">{$Article.author}</td>
                                <td align="center">
                              {$Article.profile.catename}
                                </td>
                                <td align="center">
                                    {$Article.click}
                                </td>
                                <td align="center">
                                    {if condition="$Article.rec" eq 1}是{else /}否{/if}
                                </td>
                                <td align="center">
                                    <img src="{$Article.thumb}" alt="" style="width: 30px;height: 30px">
                                </td>
                                <td align="center">
                                    <a href="{:url('article/edit',array('id'=>$Article['id']))}" class="btn btn-primary btn-sm shiny">
                                        <i class="fa fa-edit"></i> 编辑
                                    </a>
                                    <a href="#" onClick="warning('确实要删除吗', '{:url('article/delete',array('id'=>$Article['id']))}')" class="btn btn-danger btn-sm shiny">
                                        <i class="fa fa-trash-o"></i> 删除
                                    </a>
                                </td>
                            </tr>
                            {/volist}

                            </tbody>
                        </table>
                    </form>


                </div>
                <div style="margin-top: 20px;text-align: center">
                    {$Articles|raw}
                </div>

                <div>
                	                </div>
            </div>
        </div>
    </div>
</div>

                </div>
                <!-- /Page Body -->
            </div>
            <!-- /Page Content -->
		</div>	
	</div>

	    <!--Basic Scripts-->
    <script src="__static__/style/jquery_002.js"></script>
    <script src="__static__/style/bootstrap.js"></script>
    <script src="__static__/style/jquery.js"></script>
    <!--Beyond Scripts-->
    <script src="__static__/style/beyond.js"></script>
    


</body></html>